home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-02-28 | 1.2 KB | 45 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Hardware\Hard Disk"
- "NAME"="Windows 2K/XP UDMA"
- "VERSION"="1.12"
- "OSVERSION"="000101"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Enable UDMA/66"
- "DESCRIPTION 1"="With DMA enabled on IDE channels, UDMA/66 is still disabled by default in Windows 2000, possibly also in Windows XP."
- "DESCRIPTION 2"="Check box to Enable UDMA/66."
- "DESCRIPTION 3"="For a detailed description, see http://www.xteq.com/support/dc/49.html"
- "WARNING"="1"
- "AUTHOR"="Ojatex@aol.com"
- "CONTACTURL"="http://members.aol.com/ojatex/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="This is useful for both Intel and AMD chips, possibly others as well."
- "COMMENT 2"="Updated by CptSiskoX for Windows XP."
-
-
- sP="HKLM\System\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0000\EnableUDMA66"
-
- Sub Plugin_Initialize
- i=RegReadValue(sP)
- if i=1 then SetUIElement 1,true
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sP,1,2)
- else
- Call RegWriteValue(sP,0,2)
- end if
-
- Call Restart()
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-